package com.jmyd.sharding.server.mapper;

import com.jmyd.sharding.server.domain.po.TAddress;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author samphin
 * @date 2021/8/5 10:05
 */
public interface TAddressMapper extends Mapper<TAddress> {
    int updateBatch(List<TAddress> list);

    int batchInsert(@Param("list") List<TAddress> list);

    int insertOrUpdate(TAddress record);

    int insertOrUpdateSelective(TAddress record);
}